package com.huidao.dao;

import java.util.List;

import com.huidao.entity.User;

public interface UserDao {
	
    public boolean addUser(User user);
	
	public boolean updateUser(User user);
	
	public boolean isUserExist(User user);
	
	public boolean checkPassword(User user);

	public List<User> getListUser(String keyName, int currenpage,int pagesize, long gid);
	
	public int getTotalCount(String namekey,Integer roleId);
	
	public boolean delUser(Long id);

	public int total(String keyName, long uid);

}
